package com.shiyi.design.proxy;

/**
 * @author wangzhanshuai
 * @date 2021/2/5 8:14 下午
 * @since 1.0
 */
public class LogStaticProxy implements Movable {

    private Movable movable;

    public LogStaticProxy(Movable movable) {
        this.movable = movable;
    }

    @Override
    public void move() {
        System.out.println("move start!");
        movable.move();
        System.out.println("move end!");
    }
}
